<%-- 
  - Author: Mohtisham Anwar
  - Date: 03-Apr-2011
  - Copyright Notice: TRAKHEES
  - Description: show.jsp
 --%>

<%@ include file="/WEB-INF/view/include.jsp"%>
<%@ page import="ae.pcfc.cldos.online.web.*"%>
<script>
	var opened = false;

	function show(){
		if(opened){
			$("#trace").css("display","none");
			opened = false;
		} else {
			$("#trace").css("display","block");
			opened = true;
		}
		return false;
	}
</script>
<div id="container" dir='<spring:message code="page.dir"/>'
	align='<spring:message code="page.align"/>'>
		<spring:message code="error.unhandled.exception"/><br/>
		<a href=""><spring:message code="error.page.back.home" /></a><br/>
		<c:if test="${mode=='debug'}">
		<a href="javascript:void(0);" onclick="show();">Show trace</a>><div id="trace" style="display:none;"><pre>${errormessage}</pre></div>
		</c:if>
	
</div>